<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
String contextPath=request.getContextPath();
String basePath=request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+contextPath+"/";
pageContext.setAttribute("basePath",basePath);
request.setAttribute("contextPath", contextPath);
%>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<title>Insert title here</title>
</head>
<body>
<c:if test="${not empty LOGIN_USER_KEY_IN_SESSION }">
<b>${LOGIN_USER_KEY_IN_SESSION.userName }</b>欢迎你!
</c:if>
	<form action="${contextPath }/saveComment" method="post">
		<table width="80%" border="1">
			<tr>
	            <input type="hidden" value="${comment.bookId }" name="bookId"/>
	            <td>desciption</td>
	            <td><input type="textarea" value="" name="description"/></td>
	        </tr>
		</table>
		<br/>
        <input type="submit" value="Save"/>
        <input type="reset" value="Reset"/>
	</form>
</body>
</html>